

Project 'VGG16_1FC.Exp03.AonA.100p.masked.fold_3':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 824 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
6        0               Asteromphalus.labId_6835    38          38           0
3        1                 Chaetoceros.labId_6813    49          49           0
1        2 Fragilariopsis kerguelensis.labId_8356   251         251           0
5        3     Fragilariopsis rhombica.labId_8362    34          34           0
8        4                   Nitzschia.labId_6758    45          45           0
9        5             Pseudonitzschia.labId_8364   104         104           0
4        6                Rhizosolenia.labId_6776    92          92           0
2        7           Silicoflagellate.labId_10255   106         106           0
7        8     Thalassiosira gracilis.labId_10366    52          52           0
10       9  Thalassiosira lentiginosa.labId_10369    53          53           0
11      NA                                    Sum   824         824           0

Validation: 211 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
10       0               Asteromphalus.labId_6835    10          10           0
9        1                 Chaetoceros.labId_6813    13          13           0
4        2 Fragilariopsis kerguelensis.labId_8356    63          63           0
6        3     Fragilariopsis rhombica.labId_8362     9           9           0
7        4                   Nitzschia.labId_6758    12          12           0
2        5             Pseudonitzschia.labId_8364    26          26           0
1        6                Rhizosolenia.labId_6776    23          23           0
3        7           Silicoflagellate.labId_10255    27          27           0
8        8     Thalassiosira gracilis.labId_10366    14          14           0
5        9  Thalassiosira lentiginosa.labId_10369    14          14           0
11      NA                                    Sum   211         211           0

Test: 341 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
7        0               Asteromphalus.labId_6835    15          15           0
9        1                 Chaetoceros.labId_6813    20          20           0
2        2 Fragilariopsis kerguelensis.labId_8356   104         104           0
8        3     Fragilariopsis rhombica.labId_8362    14          14           0
5        4                   Nitzschia.labId_6758    19          19           0
1        5             Pseudonitzschia.labId_8364    43          43           0
6        6                Rhizosolenia.labId_6776    38          38           0
4        7           Silicoflagellate.labId_10255    44          44           0
3        8     Thalassiosira gracilis.labId_10366    22          22           0
10       9  Thalassiosira lentiginosa.labId_10369    22          22           0
11      NA                                    Sum   341         341           0

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 32


Evaluating trained model for project 'VGG16_1FC.Exp03.AonA.100p.masked.fold_3':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction   0   1   2   3   4   5   6   7   8   9
         0  15   0   0   0   0   0   0   0   0   0
         1   0  20   0   0   0   0   0   0   0   0
         2   0   0 104   3   0   0   0   0   0   0
         3   0   0   0  11   0   0   0   0   0   0
         4   0   0   0   0  18   0   0   0   0   0
         5   0   0   0   0   1  40   0   0   0   0
         6   0   0   0   0   0   3  38   0   0   0
         7   0   0   0   0   0   0   0  44   0   0
         8   0   0   0   0   0   0   0   0  22   0
         9   0   0   0   0   0   0   0   0   0  22

Overall Statistics
                                          
               Accuracy : 0.9795          
                 95% CI : (0.9582, 0.9917)
    No Information Rate : 0.305           
    P-Value [Acc > NIR] : < 2.2e-16       
                                          
                  Kappa : 0.9756          
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             1.00000  1.00000   0.9720  1.00000  1.00000   0.9756   0.9268    1.000  1.00000  1.00000
Recall                1.00000  1.00000   1.0000  0.78571  0.94737   0.9302   1.0000    1.000  1.00000  1.00000
F1                    1.00000  1.00000   0.9858  0.88000  0.97297   0.9524   0.9620    1.000  1.00000  1.00000
Prevalence            0.04399  0.05865   0.3050  0.04106  0.05572   0.1261   0.1114    0.129  0.06452  0.06452
Detection Rate        0.04399  0.05865   0.3050  0.03226  0.05279   0.1173   0.1114    0.129  0.06452  0.06452
Detection Prevalence  0.04399  0.05865   0.3138  0.03226  0.05279   0.1202   0.1202    0.129  0.06452  0.06452
Balanced Accuracy     1.00000  1.00000   0.9937  0.89286  0.97368   0.9634   0.9950    1.000  1.00000  1.00000

$statistics
   class                              className  TP FP FN precision    recall        F1
1      0               Asteromphalus.labId_6835  15  0  0 1.0000000 1.0000000 1.0000000
2      1                 Chaetoceros.labId_6813  20  0  0 1.0000000 1.0000000 1.0000000
3      2 Fragilariopsis kerguelensis.labId_8356 104  3  0 0.9719626 1.0000000 0.9857820
4      3     Fragilariopsis rhombica.labId_8362  11  0  3 1.0000000 0.7857143 0.8800000
5      4                   Nitzschia.labId_6758  18  0  1 1.0000000 0.9473684 0.9729730
6      5             Pseudonitzschia.labId_8364  40  1  3 0.9756098 0.9302326 0.9523810
7      6                Rhizosolenia.labId_6776  38  3  0 0.9268293 1.0000000 0.9620253
8      7           Silicoflagellate.labId_10255  44  0  0 1.0000000 1.0000000 1.0000000
9      8     Thalassiosira gracilis.labId_10366  22  0  0 1.0000000 1.0000000 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369  22  0  0 1.0000000 1.0000000 1.0000000

$macro
$macro$precision
[1] 0.9874402

$macro$recall
[1] 0.9663315

$macro$F1
[1] 0.9753161

$macro$F1.Sokolova_Lapalme
[1] 0.9767718


$micro
$micro$precision
[1] 0.9794721

$micro$recall
[1] 0.9794721

$micro$F1
[1] 0.9794721


